#ifndef CLIENT_H
#define CLIENT_H

#include <QObject>
#include <QDate>
#include <QImage>

class Client : public QObject
{

    Q_OBJECT

public:
    Client( QObject * parent = NULL );
    ~Client();
    inline int getId(){return clientid;}
    inline QString* getName(){ return name;}
    inline QString* getAddress(){return address;}
    inline QString* getLastName(){return lastname;}
    //inline QString* getInscription(){return inscription;}
    inline QDate* getInscriptionDate(){return inscriptionDate;}
    inline void setName(QString* name){ this->name = name;}
    inline void setId(int clientid){this->clientid = clientid;}
    inline void setAddress(QString* address){ this->address = address;}
    inline void setLastName(QString* lastname){ this->lastname = lastname;}
    //inline void setInscription(QString* inscription){this->inscription = inscription;}
    inline void setInscriptionDate(QDate* date){ this->inscriptionDate = date;}

private:
    int clientid;
    QString *name;
    QString *address;
    QString *lastname;
    //QString *inscription;
    QDate *inscriptionDate;
    QImage *profilePic;

};

#endif // CLIENT_H
